package com.interview.javabase;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.DispatcherServlet;

/**
 * @author xiaowoniu
 */
@SpringBootApplication
@RestController
public class JavaBaseApplication {

    @GetMapping("/test")
    public String test(){
        System.out.println("aaa");
        return "hello";
    }

    public static void main(String[] args) {
        SpringApplication.run(JavaBaseApplication.class, args);
    }

}
